package lab02.test07;

/**
 * Created by dell on 2017/10/18.
 */
public class Test {
    public static void main(String[] args) {
        Person yi=new Person();
        yi.name="yiqiao";
        yi.age=21;
        yi.idcard="123456789";
        System.out.println(yi.getString());

        Student yiqiao=new Student();
        yiqiao.name="yiqiaoqiao";
        yiqiao.age=21;
        yiqiao.idcard="510121";
        yiqiao.sno="1606101044";
        yiqiao.university="sctu";
        System.out.println(yiqiao.getString());

    }
}
